package com.day10;

public class Fu {
    private void show() {
        System.out.println("Fu中show()方法被调用");
    }
    void method() {
        System.out.println("Fu中method()方法被调用");
    }
}
public class Zi extends Fu {
    @Override
    private void show() {
        System.out.println("Zi中show()方法被调用");
    }
    @Override
    private void method() {
        System.out.println("Zi中method()方法被调用");
    }
    @Override
    public void method() {
        System.out.println("Zi中method()方法被调用");
    }
}